package com.platform.service;

import com.platform.dao.ApiAdminMapper;
import com.platform.entity.AdVo;
import com.platform.entity.AdminInfoDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ApiAdminService {

    @Autowired
    private ApiAdminMapper adminDao;

    public List<AdminInfoDto> queryList() {
        return adminDao.queryList();
    }

    public List<AdVo> queryAd() {
        return adminDao.queryAd();
    }

}
